import { Broker } from "./Broker";
export class Publish {
    private broker:Broker;
    constructor(broker:Broker){
        this.broker = broker
    }

    publish(topic:string, message:string){
        this.broker.publish(topic, message)
    }
}